package com.edu.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.edu.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.eduservice.vo.TeacherQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-05-27
 */
public interface EduTeacherService extends IService<EduTeacher> {
    /**
     * 分页条件查询老师
     * @param pageParam
     * @param teacherQuery
     */
    void pageQuery(Page<EduTeacher>pageParam, TeacherQuery teacherQuery );

    /**
     * 查询前4个热门课程
     * @return
     */
    List<EduTeacher> findTeacher();

    /*
    分页查询讲师
     */
    Map<String, Object> pageListWeb(Page<EduTeacher> eduTeacherPage);
}
